package com.demo.abstractFactory;

/**
 * Created by Administrator on 2017/5/31.
 * Spirng风格皮肤工厂：具体工厂
 */
public class SpingSkinFactory implements SkinFactory {
    @Override
    public Button createButton() {
        Button button = new SpringButton();
        return button;
    }

    @Override
    public TextField ceateTextField() {
        TextField textField = new SpringTextField();
        return textField;
    }

    @Override
    public ComboBox createComboBox() {
        ComboBox comboBox = new SpringComboBox();
        return comboBox;
    }
}
